package com.bootdo.xzl.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.xzl.dao.FriendshipLinkDao;
import com.bootdo.xzl.domain.FriendshipLinkDO;
import com.bootdo.xzl.service.FriendshipLinkService;



@Service
public class FriendshipLinkServiceImpl implements FriendshipLinkService {
	@Autowired
	private FriendshipLinkDao friendshipLinkDao;
	
	@Override
	public FriendshipLinkDO get(Integer id){
		return friendshipLinkDao.get(id);
	}
	
	@Override
	public List<FriendshipLinkDO> list(Map<String, Object> map){
		return friendshipLinkDao.list(map);
	}

	
	@Override
	public int count(Map<String, Object> map){
		return friendshipLinkDao.count(map);
	}
	
	@Override
	public int save(FriendshipLinkDO friendshipLink){
		return friendshipLinkDao.save(friendshipLink);
	}
	
	@Override
	public int update(FriendshipLinkDO friendshipLink){
		return friendshipLinkDao.update(friendshipLink);
	}
	
	@Override
	public int remove(Integer id){
		return friendshipLinkDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return friendshipLinkDao.batchRemove(ids);
	}

	@Override
	public List<FriendshipLinkDO> linklist() {
		return friendshipLinkDao.linkList();
	}
	
}
